.types > span {
    display: inline-block;
    padding: 4px 5px 7px 5px!important;
    opacity: 0.7;
}

.types > span.active {
    border: gray solid 1px;
    border-radius: 8px;
    opacity: 1;
}